#include <iostream>
using namespace std;
int main()
{
    int array[] = {1, 2, 3, 4, 5, 6, 7, 8};
    for (auto e:array)
    {
        cout << e;
    }
    cout << endl;
    for (auto &e : array)
    {
        cout << 2 * e;
    }
    
        return 0;
}